﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Sprout.Repository
{
    /// <summary>
    /// 用于接口资源特性
    /// </summary>
    [AttributeUsage(AttributeTargets.Interface)]
    public class RepositoryAttribute : Attribute
    {
        /// <summary>
        /// 数据源，默认default
        /// </summary>
        public string DataSource { get; set; }
        /// <summary>
        /// SQL节点命名空间
        /// 默认接口的 空间+名称
        /// </summary>
        public string SqlNameSpace { get; set; }
    }
}
